package com.gaoqi.mq;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
//开启spring ioc bean 扫描
@ComponentScan(basePackages = {
		"com.gaoqi.mq.Hello",
		"com.gaoqi.mq.Work",
		"com.gaoqi.mq.Fanout",
		"com.gaoqi.mq.Routing",
		"com.gaoqi.mq.Topics",
})
public class MqApplication {

	public static void main(String[] args) {
		SpringApplication.run(MqApplication.class, args);
	}

}
